import service from '@/utils/request'

//说明书上传
export const uploadRingGraphFileRequest = (cloudPictureCode, fileCode, data) => {
    return service({
        method: 'post',
        headers: { 'Content-Type': 'multipart/form-data' },
        url: `/uploadRingGraphFile/${cloudPictureCode}/${fileCode}`,
        data,
    })
}

//开始圈图绘图
export const startRingGraphDraw = data => {
    return service({
        method: 'post',
        url: `/startRingGraphDraw`,
        data,
    })
}